package com.dy.lock.screen.service.impl;

import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import com.dy.lock.screen.dao.BannerDao;
import com.dy.lock.screen.pojo.BannerInfo;
import com.dy.lock.screen.scoket.Head;
import com.dy.lock.screen.service.BannerService;

@Service("bannerService")
public class BannerServiceImpl implements BannerService {

	@Resource(name = "bannerDao")
	private BannerDao bannerDao;
	
	@Override
	public List<BannerInfo> query(Head head) {
		// TODO Auto-generated method stub
		return this.bannerDao.query();
	}

}
